<template>
  <h1>Index</h1>
</template>

<script setup lang='ts'>
   const res = await fetch('https://jsonplaceholder.typicode.com/todos/1');
   const data = await res.json();
   console.log(data);
</script>

<style scoped lang='scss'>
  
</style>